package com.tuanzi.loan.business.entity.common;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

import com.tuanzi.loan.business.validation.annotation.family.ProductInfoBusinessValidation;

/**
 * @author weibifeng 2018/03/12
 */
@Data
@Entity
@ProductInfoBusinessValidation
@Table(name = "COMM_REGION_NEW")
public class CommRegionNew implements Serializable {

	private static final long serialVersionUID = 2538544628440717862L;

	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;

	@Column(name = "pid")
	private String pid;

	@Column(name = "name")
	private String name;

	@Column(name = "level")
	private Integer level;

	@Column(name = "lng")
	private Integer lng;

	@Column(name = "lat")
	private String lat;

	@Column(name = "pinyin")
	private Long pinyin;

	@Column(name = "py")
	private String py;

}
